<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=640,target-densitydpi=320,user-scalable=1">
<title>得道天合</title>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>public/css/m.css"/>
<script src="<?=base_url()?>public/js/jquery.min.js"></script>
<script src="<?=base_url()?>public/js/jquery-ui.min.js"></script>
<script src="<?=base_url()?>public/js/clipboard.min.js"></script>
<script src="<?=base_url()?>public/js/jquery.simplesidebar.js"></script>
<script language="javascript" src="http://dkb.duokebo.com/js/detector.aspx?siteid=646422&float=0&m=1"></script>
</head>
</head>
<body>
<div class="top"><div class="topp">得道天合</div>
              <div class="logo"></div>
              <div class="tuichu">
			       <ul>
				     <li><em style="width:30px;" class="maill"><span style="display:none"></span></em><a  href="<?=base_url()?>mobile/mail">系统邮件</a></li>
					 <li><em class="tui"></em><a id="btn_logout" href="javascript:void(0)">退出系统</a></li>
				   </ul>
			  </div>
</div>
<div class="clear"></div>
<div class="wrapper">

	<div class="toolbar">
		<div id="open-sb" class="menu-button menu-left"></div>
		<b>推广链接：<em id="foo" class='url' data-clipboard-text="http://www.dedaotianhe.com/reg/index/1">
		http://www.dedaotianhe.com/reg/index/1</em><a class="button copy" data-clipboard-action="copy" data-clipboard-target="#foo" ></a></b>
	</div>
	<section class="sidebar">
		<nav>
			<h6 class="home"><a href="<?=base_url()?>mobile/index">系统首页</a></h6>
			<h6 class="user"><a href="">公益个人中心</a></h6>
			<ul>
				<li><a href="<?=base_url()?>mobile/userinfo" >个人资料</a></li>
				<li><a href="<?=base_url()?>mobile/editpassword">修改密码</a></li>
				<!-- <li><a href="退出系统.html">退出系统</a></li> -->
			</ul>
			<h6 class="users"><a href="">公益团队中心</a></h6>
			<ul>
				<li><a href="<?=base_url()?>mobile/member_reg">注册会员</a></li>
				<li><a href="<?=base_url()?>mobile/my_member">我的会员</a></li>
				<li><a href="<?=base_url()?>mobile/team_log">团队合作记录</a></li>
			</ul>
			<h6 class="follow"><a href="">公益收益中心</a></h6>
			<ul>
				<li><a href="<?=base_url()?>mobile/offer_help">提供公益帮助</a></li>
				<li><a href="<?=base_url()?>mobile/accept_help">接受公益帮助</a></li>
				<li><a href="<?=base_url()?>mobile/income_jt/income_jt">静态钱包明细</a></li>
				<li><a href="<?=base_url()?>mobile/income_tg/income_tg">推广钱包明细</a></li>
				<!-- <li><a href="">公益收益</a></li> -->
				<li><a href="<?=base_url()?>mobile/wallet_manage">公益币管理</a></li>
			</ul>
			<h6 class="cont"><a href="">联系我们</a></h6>
			<ul>
				<li><a href="<?=base_url()?>mobile/articles_list">平台公告</a></li>
				<li><a onclick="Detector.floatclick();" href="javascript:void(0);" target="_blank">在线客服</a></li>
				<li><a href="<?=base_url()?>mobile/mail">系统收发邮件</a></li>
				<li><a href="<?=base_url()?>mobile/wx_qrcode">平台公众微信二维码</a></li>
			</ul>
		</nav>
	</section>
</div>
<script type="text/javascript">
                //退出登录
                $('#btn_logout').on('click',  function(event) {
                    msg_box('是否退出？','<?php echo site_url('mobile/login/logout'); ?>');
                });

				//消息弹窗
                function msg_box(msg,url){
                	if(confirm(msg)){
                		location.href = url;
                	}
                }
				   /************这段代码不要动   抄就行**********/
    $(".copy").click(function(event){
            event.preventDefault();
    });
       var clipboard = new Clipboard('.button');

    clipboard.on('success', function(e) {
        alert("复制成功");
    });

    clipboard.on('error', function(e) {
         alert("复制失败，请稍后重试.");
    });
	window.addEventListener("load",function(){
		if($(".maill>span").html()){
			$(".maill span").show();
		}
	},false);
</script>